<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>${menuDetail.name}</title>
<#include "/admin/main/include/link_head.ftl"/>
</head>

<body class="jr-body">
<@tags.editBtns btns="all" />
<@tags.editForm forms="[{
            field:'permissions',
            type:'textarea',
            col:12,
            text:'权限表达式'
        },{
            field:'roleId',
            type:'hidden'
        },{
            field:'menuDetailId',
            type:'hidden'
        },{
            field:'disabled',
            type:'hidden'
        }]" action="saveMenuPower" />
<div class="row">
    <div class="col-sm-1"></div>
    <div class="col-sm-10">
        <div style="color: black;">
            <div>表达式：插件ID:操作:数据ID，如果为空，则代表拥有全部权限，多个表达式用英文逗号隔开</div>
            <div>例如：common-adminuser:save:*为对插件ID为common-adminuser的所有数据有保存权限</div>
            <div>操作：save（保存）,update（修改）,remove（删除）,view（查看）,print（打印）,export（导出），sort（排序）</div>
        </div>
    </div>
    <div class="col-sm-1"></div>
</div>
</body>
</html>
<#include "/admin/main/include/link_foot.ftl"/>